package models;

import play.db.jpa.Model;
import javax.persistence.*;
import java.util.*;

/**
*@author Sverrir B. Sverrisson
 * @version 1.0
 * @deprecated Þetta er deprecated??
 */
@Entity
/**
 * Klasinn Plaer er nota&eth;ur fyrir leikmenn &iacute; TIC TAC TOE.
 */
public class player extends Model {

    public String nafn;
    public int aldur;

    /**
     * KLasinn geymir uppl&yacute;singar um leikmann.
     * @param name Nafn leikmanns
     * @param age  Aldur leikmanns
     */
    public player (String name,int age){

        this.nafn = name;
        this.aldur = age;
    }

    public int getAge()
    {
        return this.aldur;
    }
}
